//
//  ViewController.m
//  arithmetic
//
//  Created by 王涵 on 2021/2/20.
//

#import "ViewController.h"
#import "Sort.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    NSArray *array = @[@4,@8,@1,@0,@0,@-1,@-100,@100,@-100,@1001,@1002,@1003,@1004];
    NSArray *arrayOne = @[];
    NSArray *arrayTwo;
    NSMutableArray *mutableArray = [[NSMutableArray alloc] initWithArray:array];
    [Sort selection:mutableArray];
    [Sort bubble:mutableArray];
    [Sort insertion:mutableArray];
    [Sort shell:mutableArray];
    [Sort quick:mutableArray];
    [Sort merge:mutableArray];
}


@end
